<%--
  Created by IntelliJ IDEA.
  User: 30821
  Date: 2018/7/7
  Time: 21:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>角色管理</title>
    <%@include file="/WEB-INF/views/commons/commons.jsp"%>
    <script type="text/javascript" src="/static/js/system/role.js"></script>
</head>
<body>
<table id="role_datagrid"></table>
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">添加</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
</div>

<div id="role_dialog">
    <form id="editForm" method="post">
        <input type="hidden" id="roleId" name="id">
        <table style="border-collapse:separate;border-spacing: 10px">
            <tr>
                <td>角色编号</td>
                <td><input class="easyui-textbox" name="name" prompt="请输入角色编号" width="250"/></td>
                <td>角色名称</td>
                <td><input class="easyui-textbox" name="sn" prompt="请输入角色名称" width="250"/><td>
            </tr>
            <tr>
                <td colspan="2"><div id="allPermissions"></div></td>
                <td colspan="2"><div id="selfPermissions"></div></td>
            </tr>
        </table>
    </form>
</div>

<!--底部按钮-->
<div id="bb">
    <a href="#" class="easyui-linkbutton" iconCls="icon-save" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd ="cancel">关闭</a>
</div>
</body>
</html>
